<#--Base libs-->
<#include "*/base_libs.ftl.html" />

<#--namespace libs-->
<#import "*/lib_member.ftl.html" as ln_member>
<#--namespace libs-->

<@lb_layout.main_frame id="member">
<div class="container-fluid">
	<div class="row-fluid">
		<div class="span2">
			<@ln_member.left_links />
		</div>
		<div class="span10">
			<#if curr_user_info?exists>
				您已经登录，请先 <a href="<@lb_util.url 'member/logout' />">退出</a>
			<#else>
				<legend>
				用户注册
				</legend>
	
				<form class="form-horizontal"  action="<@lb_util.url 'member/doregister' />" method="post">
					<div class="control-group">
						<label class="control-label" for="inputEmail">电子邮箱</label>
						<div class="controls">
							<input name="email" type="email" id="inputEmail" placeholder="电子邮箱">
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="inputPassword">密码</label>
						<div class="controls">
							<input name="password" type="password" id="inputPassword" placeholder="请输入密码">
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="confirmPassword">确认密码</label>
						<div class="controls">
							<input type="password" id="confirmPassword" placeholder="确认密码">
						</div>
					</div>
					<div class="form-actions">
						<button type="submit" class="btn btn-primary">提交</button>
					</div>
				</form>
			</#if>
		</div>
	</div>
</div>
</@lb_layout.main_frame>